<div class="gap"></div>
<div class="notice-item">
  <div class="avatarBox seed-flexbox seed-flexbox-align-center">
    <seed-avatar [userId]="notice.userInfoBasicRespVO.userId"
                 [lazyLoadAvatar]="notice.userInfoBasicRespVO.iconUrl"></seed-avatar>
    <div class="rightBox  seed-flexbox-item ">
      <div class="name text-ellipsis">{{notice.userInfoBasicRespVO.nickName}}</div>
      <div class="dateTime">{{notice.createTime|amDateFormat:'YYYY-MM-DD'}}</div>
    </div>
  </div>
  <div (click)="goToTargetPage(notice)">
    <span class="disc text-ellipsis" *ngIf="type=='comments'">{{notice.content}}</span>
    <span class="disc text-ellipsis" *ngIf="type==='at'">{{notice.noticeType===1?'在帖子中@了你':'在评论中@了你'}}</span>
    <span class="disc thumbs-up" [class.thumbs-up]="type==='thumbs-up'" *ngIf="type=='thumbs-up'"></span>
    <div class="postContent">
      <span>{{notice.noticeType===1?'帖子：':'评论：'}}</span>
      <p class="content text-ellipsis" *ngIf="type==='comments'">{{notice.feedTitle}}</p>
      <p class="content text-ellipsis" *ngIf="type!=='comments'">{{notice.content}}</p>
    </div>
  </div>
</div>



